package com.shanzmoo.admin.domain.query;

import cn.hutool.core.bean.BeanUtil;
import com.shanzmoo.base.bean.PageReqBase;
import com.shanzmoo.db.store.entity.query.StoreMemberStockQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 仓储用户库存实时明细 嘉鑫查询对象
 *
 * @author Gzhao 2021-03-08
 */
@Data
@ApiModel("仓储用户库存实时明细-嘉鑫查询对象")
public class StoreMemberStockJxQuery extends PageReqBase {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private Integer memberId;

    @ApiModelProperty(value = "商品sku")
    private String sku;

    @ApiModelProperty(value = "仓库编码")
    private String storeCode;

    public StoreMemberStockQuery convertBo() {
        StoreMemberStockQuery query = new StoreMemberStockQuery();
        BeanUtil.copyProperties(this, query, true);
        return query;
    }
}
